﻿using System;
using System.Runtime.Serialization;

namespace Exceptions.Custom
{
    /// <summary>
    /// Custom Exception
    /// </summary>
    public class HpException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the HPException class.
        /// </summary>
        public HpException() { }
        /// <summary>
        //  Initializes a new instance of the HPException class with a specified error message.
        /// </summary>
        public HpException(string message) : base(message) { }
        public HpException(string message, Exception inner) : base(message, inner) { }
        protected HpException(
          SerializationInfo info, StreamingContext context)
            : base(info, context) { }
    }
}
